﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;

namespace ZX.OA.Model
{
    /// <summary>
    /// 员工账户表
    /// </summary>
    public class UserInfo
    {
        [Key]
        public int UserId { get; set; }
        public string UserName { get; set; }
        public string UserPwd { get; set; }

        
        public int RoleId { get; set; }
        public virtual RoleInfo RoleInfo { get; set; }

        
        public int DeptId { get; set; }
        public virtual DeptInfo DeptInfo { get; set; }

        public bool States { get; set; }
    }
}
